﻿@model WeddingEventManagement_API.Package

@using (Html.BeginForm("CreatePackage", "Setting", FormMethod.Post))
{
    <div class="row">
        <div class="twelve columns">
            <h3>New Package</h3>
            @Html.ValidationSummary(true, "There has been an error processing your request", new {@class="no-bullet"})
        </div>
    </div>
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=> m.PackageType, "Name")
            @Html.TextBoxFor(m => m.PackageType, new { required = "required" } )
        </div>
    </div>
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=> m.Color, "Calendar Color")
            @Html.TextBoxFor(m => m.Color, new { @class = "miniColor" })
        </div>
    </div>
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=> m.BasePrice, "Base Price")
            <span>$@Html.TextBoxFor(m => m.BasePrice, new { type="number", required = "required" })</span>
        </div>
    </div>
    <div class="row">
        <div class="twelve columns">
            @Html.LabelFor(m=> m.Description, "Package Details")
            @Html.TextAreaFor(m => m.Description, new { rows="10", required = "required"})
        </div>
    </div>
    <div class="row">
        <div class="twelve columns text-center">
            <input type="submit" class="button" value="Save" />
        </div>
    </div>
}